package com.lgh.springframework.context.event;

import com.lgh.springframework.context.ApplicationEvent;
import com.lgh.springframework.context.ApplicationListener;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname ApplicationEventMulticaster
 * @description
 * @date 2023/03/01 21:25
 * <p>
 * ******************************************************
 */
public interface ApplicationEventMulticaster {

    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);

}
